package com.hncc.dms.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 非药品收费项目管理对象 dms_non_drug
 * 
 * @author ruoyi
 * @date 2020-08-13
 */
@ApiModel(value = "非药品收费项目管理实体")
public class DmsNonDrug extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "ID",required = false)
    private Long id;

    /** 项目编码 */
    @ApiModelProperty(value = "项目编码",required = false)
    @Excel(name = "项目编码")
    private String code;

    /** 项目名称 */
    @ApiModelProperty(value = "项目名称",required = false)
    @Excel(name = "项目名称")
    private String name;

    /** 规格 */
    @ApiModelProperty(value = "规格",required = false)
    @Excel(name = "规格")
    private String format;

    /** 价格 */
    @ApiModelProperty(value = "价格",required = false)
    @Excel(name = "价格")
    private BigDecimal price;

    /** 所属费用科目ID */
    @ApiModelProperty(value = "所属费用科目ID",required = false)
    private Long expClassId;

    /** 拼音助记码 */
    @ApiModelProperty(value = "拼音助记码",required = false)
    @Excel(name = "拼音助记码")
    private String mnemonicCode;

    /** 项目类型 */
    @ApiModelProperty(value = "项目类型",required = false)
    @Excel(name = "项目类型")
    private Integer recordType;

    /** 创建时间 */
    @ApiModelProperty(value = "创建时间",required = false)
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 状态 */
    @ApiModelProperty(value = "状态",required = false)
    private Integer status;

    /** 执行科室id */
    @ApiModelProperty(value = "执行科室id",required = false)
    @Excel(name = "执行科室id")
    private Long deptId;

    /** 执行科室名称 */
    @ApiModelProperty(value = "执行科室名称",required = false)
    @Excel(name = "执行科室名称")
    private String deptName;

    /**非药品项目状态*/
    private Integer itemStatus;

    public Integer getItemStatus() {
        return itemStatus;
    }

    public void setItemStatus(Integer itemStatus) {
        this.itemStatus = itemStatus;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFormat(String format) 
    {
        this.format = format;
    }

    public String getFormat() 
    {
        return format;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setExpClassId(Long expClassId) 
    {
        this.expClassId = expClassId;
    }

    public Long getExpClassId() 
    {
        return expClassId;
    }
    public void setMnemonicCode(String mnemonicCode) 
    {
        this.mnemonicCode = mnemonicCode;
    }

    public String getMnemonicCode() 
    {
        return mnemonicCode;
    }
    public void setRecordType(Integer recordType) 
    {
        this.recordType = recordType;
    }

    public Integer getRecordType() 
    {
        return recordType;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("name", getName())
            .append("format", getFormat())
            .append("price", getPrice())
            .append("expClassId", getExpClassId())
            .append("mnemonicCode", getMnemonicCode())
            .append("recordType", getRecordType())
            .append("createDate", getCreateDate())
            .append("status", getStatus())
            .append("deptId", getDeptId())
            .toString();
    }
}
